cmake_minimum_required(VERSION 3.0.0)
project(cvTest1 VERSION 0.1.0)

add_definitions(-std=c++11)

find_package(OpenCV REQUIRED)
message(STATUS "####### OpenCV library status: ########")
message(STATUS "    ---version: ${OpenCV_VERSION}")
message(STATUS "    ---libraries: ${OpenCV_LIBS}")
message(STATUS "    ---include path: ${OpenCV_INCLUDE_DIRS}")
include_directories(${OpenCV_INCLUDE_DIRS} include)
# set(CPACK_PROJECT_NAME ${PROJECT_NAME})
# set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
# include(CPack)
# enable_testing()
# include(CTest)



file(GLOB ALLSRC ${CMAKE_CURRENT_LIST_DIR}/src/*.cpp)

add_executable(cvTest1 
    ${ALLSRC}
)
target_link_libraries(cvTest1 ${OpenCV_LIBS})
